123456/V5 PT 2324/x109/B2.php

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <?php $d = 1; $u = 1; $m = 1; $s = 1; $t = o($d, $u, $m, $s); function o($d, $u, $m, $s){ $o = $d * 3600 * 24 + $u * 3600 + $m * 60 + $s; return $o; } echo "Het totaal aantal secondes is $t"; ?> </body> </html>

Resultaat

Made by Thijs Aarnoudse